Hi all,

Like to share this indicator with all Andrew's median line practitioners. Scrutch was the one who asked me to code an improvement to MT4 pitchfork tool more than 6 months ago. With his help, it is now finally completed.

I have been using Andrew's Median Lines (AML) for quite a while now in my trading and have found them to be very accurate and has helped me tremendously in my trading. It is with sincere hope that this indicator will help you in your trading using Andrew's median lines.

The indicator is designed with ease of use in mind and is highly customizable to suit each individual preference.

Here goes. Attached below are simple usage instructions, configuration options and a chart with the indicator active. 

The source code is also included. The copyright stays with me but you are free to modify and improve on it as long as it is not for commercial gains. This is my way of giving back to the community here.

Cheers,
CaveMan

Note:
You will need to know quite a bit of Andrew's median line concepts to utilize and appreciate this indicator.

//+----------------------------------------------------------------------------------------------------------+
//| 
//| A simple indicator to draw Andrew's Median Lines with support for
//| 
//| 1. Inner Lines (using Fibonacci levels and standard equal portions)
//| 2. Warning Lines 
//| 3. Reaction Lines
//| 4. Trigger Lines 
//| 5. Sliding Parallel Lines
//| 6. Andrew's, Schiff, Modified Schiff and Catalin 
//| 
//| To start using the indicator, start by plotting a Pitchfork onto the chart.
//| Next, rename the Pitchfork to the name you set in the indicator. Default is AL1.
//| 
//| Then go to the indicator property for options to custom configure to your own preference.
//| 
//| Remember to set these 2 option below to fit your charts color settings.
//|
//| Original_AL_Color = DimGray; 
//| Chart_Bkgrd_Color = Black;
//|
//| If you want to hide the original Andrew's Median Lines when using other variations, set the Original_AL_Color
//| to be the same as Chart_Bkgrd_Color. Otherwise, set it to other colors.
//|
//| Instructions for using Sliding Parallel Lines
//| =============================================
//| 3 Sliding Parallel Lines are supported. To use Sliding Parallel Lines, just draw a trend line and rename 
//| it to AL_Name + SP1 or SP2 or SP3.
//| 
//| e.g. 
//| if using default AL_Name of AL1, then rename your sliding parallel lines as AL1SP1, AL1SP2 and AL1SP3.
//| 
//| Multiple instances of the indicator can be loaded to support multiple Andrew's Median Lines on a chart.
//| Be sure to allocate unique names to each of the ALs. The same applies for the sliding parallel lines.
//| 
//| e.g. if using 2nd AL with AL_Name AL2, then sliding parallels for this AL is AL2SP1, AL2SP2 and AL3SP3.
//| 
//| If using multiple instances, be sure to shift the label for the second AL. Otherwise the label will 
//| overlap each other. Do this by adding 20 to the setting "label_y_shift" for the second instance.
//| 
//| That's it.
//| 
//+----------------------------------------------------------------------------------------------------------+

AL_Name = "AL1";
Choose_Type_of_Meridian_Lines = 1;
Option_1 = "Andrew ML";
Option_2 = "Schiff ML (time same, price half P0 P1)";
Option_3 = "Modified Schiff ML (price and time half P0 P1)";
Option_4 = "Catalin ML (time same, price P0 = P2)";
Original_AL_Color = DimGray; "Set same color as chart background to hide original AL when using modified MLs.";
Chart_Bkgrd_Color = Black;

Draw_Trigger_Lines = false;
Draw_Inner_Lines = true;
Use_Fib_Levels_4_Inner_Lines = true; 
"True means use Fibonacci Levels. 4 Inner Lines. False means equally divided. Set no. of lines."
Num_Of__Inner_Lines_2_or_6 = 2;
Draw_Warning_Lines = true;
Num_Of_Warning_Lines = 6;
Draw_Reaction_Lines = false;
Num_Of_Reaction_Lines = 6;
Extend_Reaction_Lines = true;
Draw_Sliding_Parallel = true;
==========================================================
Main_AL_Color = Teal
Main_AL_Style = 0;
Main_AL_Width = 0; 
Modified_AL_Color = Blue;
Modified_AL_Style = 0;
Modified_AL_Width = 0;
==========================================================
Upper_LN1_Color = Gray;
Upper_LN1_Style = STYLE_DOT;
Upper_LN1_Width = 0; 
Upper_LN2_Color = Gray;
Upper_LN2_Style = STYLE_DASH;
Upper_LN2_Width = 0;
Upper_LN3_Color = Gray;
Upper_LN3_Style = STYLE_DOT;
Upper_LN3_Width = 0;
Lower_LN1_Color = Gray;
Lower_LN1_Style = STYLE_DOT;
Lower_LN1_Width = 0;
Lower_LN2_Color = Gray;
Lower_LN2_Style = STYLE_DASH;
Lower_LN2_Width = 0;
Lower_LN3_Color = Gray;
Lower_LN3_Style = STYLE_DOT;
Lower_LN3_Width = 0;
==========================================================
Warning_LN_Color = Brown;
Warning_LN_Style = STYLE_DASHDOT;
Warning_LN_Width = 0;
==========================================================
Reaction_LN_Color = Brown;
Reaction_LN_Style = STYLE_DASHDOT;
Reaction_LN_Width = 0;
==========================================================
Sliding_Parallel_Color = Yellow;
Sliding_Parallel_Style = STYLE_SOLID;
Sliding_Parallel_Width = 0;
==========================================================
Trigger_Lines_Color = Gray;
Trigger_Lines_Style = STYLE_DASHDOTDOT;
Trigger_Lines_Width = 0;
==========================================================
show_label = true;
label_color = Red;
label_window_corner = 0;
label_x_shift = 5;
label_y_shift = 20;
label_font_type = "Arial";
label_font_size = 10;
Attached Image (click to enlarge)
Click to Enlarge

Name: eu.gif
Size: 32 KB